package www.alterzhang.cn.service;

import org.springframework.util.concurrent.ListenableFuture;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;

/**
 * @author dycong
 * @date 2019/7/15 15:38
 */
public interface AsyncService {

    void get0();

    Integer get2() throws InterruptedException;
    ListenableFuture get3() throws InterruptedException;
    CompletableFuture get4() throws InterruptedException;
    Future get5() throws InterruptedException;
    Integer get6() throws InterruptedException;
}
